package com.ruicar.afs.cloud.apply.pre.loan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruicar.afs.cloud.apply.common.entity.ApplyCustBaseInfo;
import com.ruicar.afs.cloud.common.modules.apply.dto.ApplyIdCardDTO;
import com.ruicar.afs.cloud.apply.contract.vo.ApplyLoanAmtVo;
import com.ruicar.afs.cloud.apply.pre.loan.condition.CustInfoCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 客户主表Mapper
 *
 * @author jihuigeng
 */
public interface ApplyCustBaseInfoMapper extends BaseMapper<ApplyCustBaseInfo> {
    /**
     * 获取客户信息
     *
     * @param condition
     * @return
     */
    ApplyCustBaseInfo getCustBaseInfo(CustInfoCondition condition);
    /**
     * 获取主共保申请编号
     * */
    List<ApplyLoanAmtVo> getApplyLoanAmt(@Param("certNo") List certNo);

    List<ApplyCustBaseInfo> getApplyPhone(@Param("query") ApplyIdCardDTO condition);
}
